<template>
  <div class="execution-orders">
    <el-card shadow="always" class="custom-card">
      <h3 class="title">中登指令执行揭示</h3>
      <div class="headers">
        <span class="header">中登指令</span>
        <span class="header">未勾单</span>
      </div>
      <ul>
        <li v-for="order in executionOrders" :key="order.name">
          <span class="order-name">{{ order.name }}</span>
          <span class="order-count">{{ order.count }}</span>
        </li>
      </ul>
    </el-card>
  </div>
</template>

<script>
export default {
  name: 'ExecutionOrders',
  data() {
    return {
      executionOrders: [
        { name: '上海RTGS', count: 24 },
        { name: '上海基金非担保', count: 24 },
      ]
    }
  }
}
</script>

<style scoped>
.execution-orders {
  margin-bottom: 20px;
}

.custom-card {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  min-height: 50vh;
  width: 100%;
  text-align: center;
}

.headers {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 10px;
}

.header {
  flex: 1;
  text-align: center;
  font-weight: bold;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.order-name, .order-count {
  flex: 1;
  text-align: center;
}

.title {
  margin-top: 0px;
  margin-bottom: 20px;
}
</style>
